﻿using ClientAppraise.Controls;
using ClientAppraise.Views.Pages;
using ClientAppraise.Views.Pages.Users;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Wpf.Ui.Controls;

namespace ClientAppraise.ViewModels.Pages.Users
{
    public partial class TestViewModel : ObservableObject 
    {
        [RelayCommand]
        private void OnSubmitAsync()
        {
            var asdf=  App.GetRequiredService<MainWindow>();
            asdf.NavigationView.MenuItems.Add(new ZxNavigationViewItem("企业管理11", SymbolRegular.Grid20, typeof(TestPage)));
            return;
        }
    }
}
